cleaning files with ~