Thanks for the responses everyone, I ended up just using XS++ to alter the files and it was much much easier. Thanks again.