you could use the older code for small files, since it's like five times faster than the new one. just a suggestion.