Adding binary file support