remove files and wrote bug.txt