added the File class to the apicontroller
Finish add-file