def seek(self, pos):
        """ Move to new input file position. If position is negative or out of file, raise Exception. """
        if (pos > self.file_size) or (pos < 0):
            raise Exception("Unable to seek - position out of file!")
        self.file.seek(pos)