Fixed regression in parsefile()