docs: static void deleteOrResetFreePos(Database database, String filename) {
  
          ScaledRAFile raFile = null;
  
          database.getFileAccess().removeElement(filename);
  
          // OOo related code
          if (database.isStoredFileAccess()) {
              return;
          }
  
          // OOo end
          if (!database.getFileAccess().isStreamElement(filename)) {
              return;
          }
  
          try {
              raFile = new ScaledRAFile(database, filename, false);
  
              raFile.seek(LONG_FREE_POS_POS);
              raFile.writeLong(INITIAL_FREE_POS);
          } catch (IOException e) {
              database.logger.appLog.logContext(e, null);
          } finally {
              if (raFile != null) {
                  try {
                      raFile.close();
                  } catch (IOException e) {
                      database.logger.appLog.logContext(e, null);
                  }
              }
          }
      }