initial parse_dir support