What's the right way these days to lock a file (or possibly a part of a file) to prevent damage from simultaneous writing? -- hendrik