beginning to separate file handle logic in helper module
removing helper functions from Gruntfile and create separate module