add redis and create file schema