Adding custom exception for the incorrect formatting of the file to be parsed.