New file and new folder from selection

@devoncarew  

fix for #778