store path and file in redis