extract filetree