Getting info from inut and downloading it