better support for binary files