add functionality to file download method, add overwrite protection to
existing files