Laid out functionality in main.c to poll each buffer and see if content should be written to file.