Test removal of file types