more updates to file uploading (image + audio)