IDE-1656 JSP Hook doesn't create jsp file while adding new hook configuration

Can you create a new method in CoreUtil called 
CoreUtil.createEmptyFile( IFile ) and move this code there?

Also can you modify the code in AddPortletOperation that creates empty files to use this new CoreUtil method as well?