get rid of old single-file option
fix (dir vs parentDir, weird)