added parse(File) overload