end of day file cleanup