Refs #13: Added file download function. Added function for secured
files. Completed with issue number 13.