Filetree code for the Mist project (mist-project.org)