def METHOD_NAME(self, hfile):
    self.text_file_pos.set_text(
        "File Position: %d" % (hfile.tell() // self.sizeof_data))
    try:
        f = numpy.fromfile(hfile, dtype=self.datatype,
                           count=self.block_length)
    except MemoryError:
        print("End of File")
    else:
        self.f = numpy.array(f)
        self.time = numpy.array([i * (1 / self.sample_rate)
                                for i in range(len(self.f))])