add stats file check in postlog