introduced new parameter for choosing method in download.file for CGP