Exception handling in file_parser.cc constructor

Added a try-catch block to the file_parser.cc constructor implementing
file_parser_exception. This exception catches an error where the given
text file cannot be read.