test for a binary file