def get_file_options_string(args):

    """ Create a string containing the relevant flags and options based on the
    file options from the arguments.

    Parameters
    ----------
    args: argparse.Namespace
        The parsed arguments
    """

    overwrite_str = ""
    if args.overwrite:
        overwrite_str = "--overwrite"
    
    keep_intermediate_files_str = ""
    if args.keep_intermediate_files:
        keep_intermediate_files_str = "--keep-intermediate-files"

    options_str = "{} {}".format(overwrite_str,
                                 keep_intermediate_files_str)

    return options_str