#97860Use FileInterface where appropriate
Description
This is the class structure:
File extends AbstractFile implements FileInterface
ProcessedFile extends AbstractFile implements FileInterface
FileReference implements FileInterface
So we should check whether we could use FileInterface in the annotations in places where ProcessedFile|File is annotated to simplify things (and allow for easier mocking in tests).