This example is used from samples/sendfile.prg