def get_floss_params(str_floss_options, filename):
    """Helper routine to build the list of commandline parameters to pass to Floss."""
    # First parameter is the name of the Floss "main" routine.
    list_floss_params = ['main']

    # Add the options from app.config
    list_options = str_floss_options.split(",")
    for option in list_options:
        list_floss_params.append(option)

    # Add the filename of the binary file.
    list_floss_params.append(filename)
    return list_floss_params