Fixes
Fixed binary file handling