added check for demux stats file