#@program: To find whether the given file exists
#          or not but by also checking for the
#          given no of command line arguments
#@author : Binoy Wilson
#@Date   : 4th Jan, 2012

#checking for the minimum number of arguments
if [ $# -eq 0 ]
then
	echo "ERROR: Please make sure that
	      you have entered required amout of arguments"
else
	#Checking if the file exists or not
	if [ -f $1 ]
	then
		echo "NAILED IT: File Exists";
	else
		echo "SORRY:File doesn't exist";
	fi
fi
exit 0;