we now close all files and handles
removed collecting stats