added support for really big files