files are now saved in the server for every function