adds auto-fixing of file patterns (refs #14)