created FileReader Class to encapsulate reading binary data