don't choke on empty files