I have created an application that does the following:
Using memory mapped files should be investigated as it will reduce the number of system calls.