rn root_directory to path