parse file
finish all parse functions