making use of misc.join_paths()