checking binary files in prototypes