close all opened files