bugfix: parsefile with empty file