Another attempt at displaying a directory tree