Tolerate absence of either the 'file' or the 'mkdir' section.