Adding create file support. Accompanied wire format change to support it