removed last 3 rows from lmsm file