updated File download to handle multiple simultaneous file downloads. Also moved decryption to the accept download function to reduce performance issues during downloads.