load file into parser