Direct and group relations with backend files.

Validation of relations missing.