@staticmethod<EOL><INDENT>def _import_config(filepath):<DEDENT>
if not op.isfile(filepath):<EOL><INDENT>raise IOError('<STR_LIT>'<EOL>'<STR_LIT>'.format(filepath))<EOL><DEDENT>cfg = import_pyfile(filepath)<EOL>if not hasattr(cfg, '<STR_LIT>'):<EOL><INDENT>raise KeyError('<STR_LIT>')<EOL><DEDENT>if not hasattr(cfg, '<STR_LIT>'):<EOL><INDENT>raise KeyError('<STR_LIT>')<EOL><DEDENT>return cfg.root_path, cfg.filetree<EOL>
Imports filetree and root_path variable values from the filepath.

:param filepath:
:return: root_path and filetree