updated for clear files