Added option to read binary files