You can intentionally corrupt a file by renaming its extension to a different one. However, before damaging the File, make sure to save a copy of it so that you can restore it if necessary.