python directory tree object