changed tree to look for unicode file names to account for non-ascii characters