Imrproving RM file