What the command needs of the machine: kept apart, so it can be tested without one.
Readonly
Whether a directory is missing or empty, so writing into it overwrites nothing.
Write a file, making its directories.
What the command needs of the machine: kept apart, so it can be tested without one.