Teacher struck off after traces of files containing indecent