util: drop file-utils and import the main grunt inspired logic into its own file.