I don't know why I didn't think of those. I'll switch to use those, and also make `get_or_create_file` create any dirs needed. The helper functions already log when they create new dirs/files.