finish file parser