def METHOD_NAME(self, file_name, sudo_run="true"):
    """
     update properties. json from script file in setting folders
    :param file_name: script file associated to a feature
    :param sudo_run:  with superuser privileges (True | False)
    """
    if sudo_run.lower() == "true":
        sudo_run = "sudo"
    else:
        sudo_run = ""
    configuration = self.read_configuration_json()
    __logger__.info("configuration.json: %s" % str(configuration))
    if configuration["UPDATE_PROPERTIES_JSON"].lower() == "true":
        __logger__.info(" >> config file used: '%s'", file_name)
        with open("%s/%s" % (configuration["PATH_TO_SETTINGS_FOLDER"], file_name)) as config_file:
            for line in config_file.readlines():
                __logger__.info("-- properties.json lines: %s %s" % (sudo_run, str(line)))
                p = subprocess.Popen("%s %s" % (sudo_run, str(line)), shell=True, stdout=subprocess.PIPE,
                                     stderr=subprocess.STDOUT)
                stdout = p.stdout.readlines()
                assert stdout == [], "ERROR - modifying config files from %s/%s in setting folder. \n " \
                                     "        %s" % (configuration["PATH_TO_SETTINGS_FOLDER"], file_name, stdout)
        __logger__.info(" >> properties.json is created or updated")
    else:
        __logger__.info("properties.json is not updated")