clear files
flips modifying