added popFileTree() to onEnable().