in reply to Advanced appending to file
seek() and you will find your answers.
---- send money to your kernel via the boot loader.. This and more wisdom available from Markov Hardburn.