remove a file which has syntax errors