finished get_dir_from_user and pull_docs functions