an empty file goes first