code: function addAllMatchingCompressionsToFile(fileName, fullFilePath) {
          for (var i = 0; i < compressions.length; i++) {
              if (fileName.endsWith(compressions[i].fileExtension)) {
                  addCompressionToFile(fullFilePath, compressions[i]);
                  return;
              }
          }
      }
docs: Takes a filename and checks if there is any compression type matching the file extension.
  Adds all matching compressions to the file.
  @param {string} fileName
  @param {string} fillFilePath