Downloads function

Return Downloaded File in XL- or CSV Format