added a test mode to FileDownloader that fetches only first 10K