0 length files are not properly parsed