fixed goToFolder accepting invalid paths

when in getIt flag was set to true.
implemented -a flag for ls command to show hidden files.