New ParseFile function + test