Initial commit of filetree code.