aremove excess directory and files for log