 				if result
 					return result.get('contentRendered') or result.get('content')
 				else
-					warn = "The file #{relativeBase} was not found..."
+					warn = "The file #{subRelativePath} was not found..."
 					docpad.warn(warn)
 					return warn
 


		# Change event handler
		changeHandler = (eventName,filePath,fileCurrentStat,filePreviousStat) ->
			###
			# Differential Rendering?
			if config.differentialRendering

				# Handle the action
				if eventName is 'unlink'
					changedFile.destroy()
				else if eventName is 'change'
					# Re-render just this file
					changedFile = database.findOne(fullPath: filePath)
					docpad.prepareAndRender changedFile, docpad.getTemplateData(), ->
						# Re-Render anything that references the changes
						pendingFiles = database.findAll(references: $has: changedFile).render()
						docpad.prepareAndRender pend

				else if eventName is 'new'

				# Re-Render anything that should always re-render
				database.findAll(referencesOthers: true).render()

			# Re-Render everything
			else
			###
			docpad.action 'generate', (err) ->
				docpad.error(err)  if err
				logger.log 'Regenerated due to file watch at '+(new Date()).toLocaleString()

		# A fatal error occured
		fatal = (err) ->


		# Extract document
		if opts.filename
			document = @createDocument(
				filename: opts.filename
				fullPath: opts.filename
				data: opts.content
