Open or create when writing