Binary files will throw an exception. Fix that