Optimized for zero length files