def insert_file_paths(command, file_paths, start_delim='<FILE:', end_delim='>'):
    """
    Insert file paths into the command line at locations indicated by
    the starting and ending delimiters.
    """
    tokens = command.split()
    final_tokens = []
    for token in tokens:
        if token.startswith(start_delim) and token.endswith(end_delim):
            key = token[len(start_delim):-len(end_delim)]
            final_tokens.append(file_paths[key])
        else:
            final_tokens.append(token)
    return ' '.join(final_tokens)