Differentiate between text/binary files