Fixed handling very small files