cleaning up file directories