Fix build issues
Add IStoredFile for entities that have a file stored with them