public int getNameIdByFileId(int fileId) {
    try {
      checkNotClosed();
      return connection.getRecords().getNameId(fileId);
    }
    catch (IOException e) {
      throw handleError(e);
    }
  }
public int getNameIdByFileId(int fileId)