Use case
file_selector defines its own types: XFile and XTypeGroup.
Those types are general enough to be extracted and used across multiple plugins that deal with file entities.
Proposal
Replace the local types definitions with the ones provided by cross_file