File format parameter added as part of downloadFile function