uploading files with the right filename