updated files with data download. Split reusable code in utils