Break down File in multiple objects
Remove setting site on file objects
Extract file and deployment shared code to bases