Split Master making code; create Master datafile