Fixes file from cml