added parsefile