code: public void writeToFile() throws IOException {
          FileOutputStream fos = new FileOutputStream(new File(this.hashFunctionFile));
          store(fos);
          fos.close();
      }
docs: Writes the hash function, represented as tuples (range, filename) into the file that is linked with the
  HashFunction. The content of the file is overwritten.
  
  @throws IOException