Use the f_name_to() function to avoid having to strdup() the name that