Fixing Up File Pathname Too Long Error and Copy the Files to Cloud