cleaning up the parse file