autoloading instead of requiring dirtree