added recursive directory support to editor