clear files in exception