added file cleanup