Saves a file in the static dir of the frontend app with a correct filename.