@Override
  public void moveTo(long position) throws IllegalArgumentException {
    if (position < 0 || length() < position) {
      throw new IllegalArgumentException("Position out of the bounds of the file!");
    }

    fp = position;
  }
@Test
  public void moveTo() throws IOException {
    int readPosition = text.length - 10;
    byte[] buff = new byte[1];

    ss.moveTo(readPosition);
    ss.open();

    int n = ss.read(buff);
    assertEquals(text[readPosition], buff[0]);
    assertEquals(buff.length, n);
  }