how to create a master file