Actually we should open the file as a binary file.