code: private void initParameters() throws FileNotFoundException {
          InputStream fileStream;
          if (new File(parameterfile).exists()) {
              logger.info("Try reading properties directly from {}.", parameterfile);
              fileStream = new FileInputStream(new File(parameterfile));
          } else {
              logger.info("Try reading properties from Resources");
              fileStream = this.getClass().getClassLoader().getResourceAsStream(parameterfile);
          }
  
          Properties props = new Properties();
          try {
              props.load(fileStream);
          } catch (IOException ex) {
              throw new RuntimeException(ex);
          }
          DATABASE_DIRECTORY = props.getProperty("DATABASE_DIRECTORY");
          BUCKET_MEMORY = parseSize(props.getProperty("BUCKET_MEMORY", "1G"));
          MEMORY_CHUNK = (int) parseSize(props.getProperty("MEMORY_CHUNK", "10K"));
          MAX_MEMORY_PER_BUCKET = parseSize(props.getProperty("MAX_MEMORY_PER_BUCKET", "100M"));
          SYNC_CHUNK_SIZE = parseSize(props.getProperty("SYNC_CHUNK_SIZE", "2M"));
          FILE_CHUNK_SIZE = parseSize(props.getProperty("FILE_CHUNK_SIZE", "32K"));
          // determine exact index size
          FILE_CHUNK_SIZE = FILE_CHUNK_SIZE - FILE_CHUNK_SIZE % prototype.getSize();
          NUMBER_OF_SYNCHRONIZER_THREADS = Integer.valueOf(props.getProperty("NUMBER_OF_SYNCHRONIZER_THREADS", "1"));
          MAX_BUCKET_STORAGE_TIME = Long.valueOf(props.getProperty("MAX_BUCKET_STORAGE_TIME", "84000000"));
          MIN_ELEMENT_IN_BUCKET_BEFORE_SYNC = Integer
                  .valueOf(props.getProperty("MIN_ELEMENT_IN_BUCKET_BEFORE_SYNC", "1"));
          HEADER_FILE_LOCK_RETRY = Integer.valueOf(props.getProperty("HEADER_FILE_LOCK_RETRY", "100"));
  
          INITIAL_FILE_SIZE = (int) parseSize(props.getProperty("INITIAL_FILE_SIZE", "16M"));
          INITIAL_INCREMENT_SIZE = (int) parseSize(props.getProperty("INITIAL_INCREMENT_SIZE", "16M"));
          configToLogInfo();
      }
docs: Initialises all Parameters.
  
  @throws FileNotFoundException