Save and upload files (not working).