script to cleaning file or directory