Fix for binary file