index.js
function getResponseDataWhole (fileStats/* , headers*/) {
	return {
		body      : fs.createReadStream(fileStats.path),
		statusCode: HTTP_CODES.OK,
		headers   : {
			'Content-Type'  : mime(fileStats.path),
			'Content-Length': fileStats.size,
			'Last-Modified' : fileStats.mtime.toUTCString()
		}
	};
}
function getResponseDataWhole (fileStats/* , headers*/) {
	return {
		body      : fs.createReadStream(fileStats.path),
		statusCode: HTTP_CODES.OK,
		headers   : {
			'Content-Type'  : mime(fileStats.path),
			'Content-Length': fileStats.size,
			'Last-Modified' : fileStats.mtime.toUTCString()
		}
	};
}
function getResponseDataWhole ( fileStats /* , headers*/ ) { return { body : fs . createReadStream ( fileStats . path ) , statusCode : HTTP_CODES . OK , headers : { 'Content-Type' : mime ( fileStats . path ) , 'Content-Length' : fileStats . size , 'Last-Modified' : fileStats . mtime . toUTCString ( ) } } ; }
Creates responseData object with body set to readable stream of requested file.

@param {!external:"fs.Stats"} fileStats
@param {!string}              fileStats.path    path to the file in local filesystem
@param {!Date}                fileStats.mtime   date of last modification of file content
@param {!Number}              fileStats.size    number of bytes of data file contains
@param {!Object}              headers
@return {module:serve-files~responseData}
Creates responseData object with body set to readable stream of requested file .