You want to filter out a set of words (stopwords). Taking the core idea from this SO answer:
You need to introduce a couple of lines into your code: Just after
fileids=corpus.fileids ()
text=corpus.words(fileids)
Add the following lines: Create a list of stopwords and filter them out from your text
#get a list of the stopwords
stp = nltk.corpus.stopwords.words('english')
#from your text of words, keep only the ones NOT in stp
filtered_text = [w for w in text if not w in stp]
Now, continue as you would
wlist=[]
ftable=nltk.FreqDist (filtered_text)
wlist.append(ftable.keys () )
Hope that helps.