check file size of binary