Flask App Builder Related Views
I think you're missing a backref on your File model class. You likely already have the relationship between the files and the company defined in your File model as:
company = relationship('Company')
In order for the files to be found from the CompanyView you need to update it to:
company = relationship('Company', backref='files')
Hope this helps.