Refactoring my nerdtree functions to be more abstract