updates to project parser to close stream