It appears that file types other than PDF throw an error when trying to preview in the portal. It would be really convenient if commonly used file types such as Excel (.csv & .xlsx) and Word (.docx) could be previewed.