cast to __int64 for seekg to work on win64 for files more than 2gb