rename get_base() to containing_dir()