Implemented download of original file close #6 and prepared for versioning of files.