Fixed improper use of fseek in ReadFile()