def canon_name_file(param):
    """Convert name+filename to canonical form.

    param  a string of form "name,path_to_exe".

    Return a tuple (name, path_to_exe).
    Returns None if something went wrong.
    """

    name_file = param.split(',')
    if len(name_file) == 2:
        return name_file

    return None