Make master file