code: public void seek(long pos) {
      try {
        raFile.seek(pos);
      } catch (IOException e) {
        logger.log(Level.SEVERE, null, e);
        throw new RuntimeException(e);
      }
    }
docs: Moves the cursor to certain position.
  
  @param pos
  position of the file