Add 'setAttrs' method to the File model
Add file routes