Cleans MD files.