Removed duplicate output module from sample config.
Fix issues in the directory input module.