writing a file, shows up as mutilated