code: public static String cleanKeyForFilename(String projectKey) {
      String cleanKey = StringUtils.deleteWhitespace(projectKey);
      return StringUtils.replace(cleanKey, ":", "_");
    }
docs: Clean provided string to remove chars that are not valid as file name.
  @param projectKey e.g. my:file