Fix for uploading file [2]