# manipulate $contents to write it back out: $contents > $io; $some_extra_bit >> $io;