removed special handling and option for zero length files