When writing scripts that create or manipulate file and directories, it’s all too easy to get lost using
chdir operating system directives. Move here, do that, change this, write that. Bah. Unless you track very carefully what directory your script is working in, it’s all too easy to get lost. There is always an easier way.