Issue #2503861 by phenaproxima, benjy, alexpott, mikeryan: Migrate file_managed table to file entities