make file and set.seed