Replace local file storage with redis