Improve the RM file