Alternative file read implementation (To solve Windows OS problem while reading with fseek method)