Well, this is partially true. You may get confused when executing the script from another location or you may need to navigate back to the original folder.
You should rather use the full path to the file, i.e. 'cat /home/bob/test.txt'
Example :
Code:
cd /folder/test/
cat file1.txt
cd -
# return to the last folder, variable kept in ENV as OLDPWD.
# or
cd /home/bob/test/firstfolder/secondfolder/
cat somefile.txt