Added some try for upload files