work on parsefile