Change crawl.each.file to return a promise that encompasses promises made during the file parsing and invocation of the passed in function