Add basic support for dirtree