Converts Xcode project tree to directories