seeking, file writing for existing files