Try to upload a file when GetDiagnostics request is received