       filedest = file.orig.dest
 
       if not file.src.length
-        grunt.log.error("No source files specified for #{cyan(filedest)}.")
+        log.error("No source files specified for #{cyan(filedest)}.")
         return
 
       file.src.forEach (src) =>

    )

    if not @files.length
      grunt.log.error('No files specified.')
      return

    { preprocessPath, preprocessMatterData, preprocessData } = options

    if typeof preprocessData == 'function'
      data = preprocessData.call(@, data)

    write(filedest, JSON.stringify(data, options.replacer, options.space))

    log.ok "#{cyan(processedFiles.length)} files processed"
    verbose.ok "#{processedFiles.map((file) => "\nProcessed: #{cyan(file)}")}"
    verbose.ok "File #{cyan(filedest)} created"