You can avoid all the above exists, readable, writable checks if you just open with write mode and bail out if it return false :smile: