creating period files