handling the case of binary file in term of datatype specification