simple file tree handler