download and proces file