Issue #1798658: Fixed warnings when File entity has file fields.