I am looking into using Perl to manipulate a Quark Document, and am having trouble with the file becoming corrupt. All I am trying to do is change the layout name, but when I do, the file becomes corrupt. Any suggestions?