Added support for bigger files.