better handling of files over 2GB