creates server file