Deal with empty files