Fixed counter of downloader
Separated file iteration out of db loading