Added SharePoint functionality for downloading files