Syntax Error While Parsing Ast From File