code: function fileSaved(docToSave) {
          if (!docToSave) {
              return;
          }
          var fileType = docToSave.language ? docToSave.language._name : "";
          sendAnalyticsData(commonStrings.USAGE + commonStrings.FILE_SAVE + fileType,
                              commonStrings.USAGE,
                              commonStrings.FILE_SAVE,
                              fileType.toLowerCase()
                           );
      }
docs: Whenever a file is saved call this function.
  The function will send the analytics Data
  We only log the standard filetypes and fileSize
  @param {String} filePath The path of the file to be registered