Added ability to download csv or excel files