Updated array to check for allowed file types

Uploader now only allows the types doc, docx, txt, pdf, and rtf