nandita,
go to the point where u want to insert the word. read the file from that point to EOF in a scalar/array variable . write ur word there in the file. and after that write the contents of the variable back intp the file. --------------------------------- Get a bigger mailbox -- choose a size that fits your needs. http://uk.docs.yahoo.com/mail_storage.html