Setup the buffer timer to flush contents
function flushBuffer() {
            if (fileBuffer.length > 0 && original_fnRemove) {
              var tempBuffer = fileBuffer;
              fileBuffer = [];

              original_fnRemove(null, tempBuffer);
            }

            flushTimer = null;
          }