Get a function to replace the directory of a filename

get_replace_dir_fun(new_dir_name = "")

Arguments

new_dir_name

the new directory name