Rename m and fig file