Refs #13: Added file download function. Added function for secured
files. Completed with issue number 13.
Refs #18: Made available with ajax login.