redis upsert: implemented; downloading file: improved