Fixed bug with parseFile