added file_transfer() method for setting downloads via browser