function main( filename, out ) {
	var fpath;
	var fopts;
	var data;

	fopts = {
		'encoding': 'utf8'
	};
	fpath = resolve( __dirname, filename );
	data = readFileSync( fpath, fopts ).split( '\n' ).filter( filter );

	inmap( data, removeComments );
	inmap( data, generateTestData );

	fpath = join( __dirname, out );
	writeFileSync( fpath, JSON.stringify( data )+'\n' );
}
Main execution sequence.

@private
@param {string} filename - input filename
@param {string} out - output filename