file for replicate and substring node