Added routine to process WSMR file.