if you want to get an input use read
echo -n "What is the path to the file you want to modify?" (-n avoid to pass a line before input)
read file (no dollar)
echo "The Path is $file"
but you should have a look to getops and add option switch to your command line like -f file
touch me in irc if you need advise