added support for parseFile