Create master file