Update file_tree.py

Added check to make sure root directory exists.