code: public void create(int iStartSize) throws IOException {
      if (iStartSize == -1)
        iStartSize = DEFAULT_SIZE;
  
      openChannel(iStartSize);
  
      setFilledUpTo(0);
      setSize(maxSize > 0 && iStartSize > maxSize ? maxSize : iStartSize);
      setSoftlyClosed(!failCheck);
    }
docs: /*
  (non-Javadoc)
  
  @see com.orientechnologies.orient.core.storage.fs.OFileAAA#create(int)