for binary file.