Refactored FileToDownLoad.rb