'Populate action_dict with the provided filename, regex, and replacement text.'

def prepare_step(self, tool_dependency, action_elem, action_dict, install_environment, is_binary_download):

    action_dict['filename'] = basic_util.evaluate_template(action_elem.get('filename'), install_environment)
    action_dict['regex'] = basic_util.evaluate_template(action_elem.find('regex').text, install_environment)
    action_dict['replacement'] = basic_util.evaluate_template(action_elem.find('replacement').text, install_environment)
    return action_dict
