lib/utils.js
function validateFile(path, rollCall) {
	var stat = path ? fs.statSync(path) : {
		size : 0
	};
	if (!stat.size) {
		rollCall.error('Failed to find any entries in "' + path + '" (file size: ' + stat.size + ')');
		return false;
	}
	return true;
}
function validateFile(path, rollCall) {
	var stat = path ? fs.statSync(path) : {
		size : 0
	};
	if (!stat.size) {
		rollCall.error('Failed to find any entries in "' + path + '" (file size: ' + stat.size + ')');
		return false;
	}
	return true;
}
function validateFile ( path , rollCall ) { var stat = path ? fs . statSync ( path ) : { size : 0 } ; if ( ! stat . size ) { rollCall . error ( 'Failed to find any entries in "' + path + '" (file size: ' + stat . size + ')' ) ; return false ; } return true ; }
Determines if a file has content and logs an error when the the file is empty

@param path
the path to the file
@param the
roll call instance
@returns true when the file contains data or the path is invalid
Determines if a file has content and logs an error when the the file is empty