Fix bug in clean-up logic for configured files.
startup/shutdown examples were wrong