def METHOD_NAME(target=None, config=None, product=None,
                         res_tag=None, ext=None, derived=None):
    if res_tag is None:
        resstr = ''
    else:
        resstr = '_res'+res_tag
    cube_name = get_cube_filename(target=target,
                                  config=config,
                                  product=product,
                                  ext='pbcorr_trimmed_k'+resstr,
                                  casa=False)
    derived_name = '_'.join([cube_name.replace('.fits',''),
                             derived])
    return(derived_name)