added test for binary files