added header treatment for ReadMapOutput