Added ability to upload other filetypes besides just images