create file on saving if not exists and `autocreate` flag given