removed "from file" methods from the parser