added renaming of downloaded files