                             continue
                         }
                         
+                        let acoustidDirPath = outputDir + "/\(acoustid)"
+                        
                         if option.action == .s {
-                            let acoustidDirPath = outputDir + "/\(acoustid)"
                             do {
                                 consoleOutput("Attempting to create directory for symbolic links...")
                                 try FileManager.default().createDirectory(atPath: acoustidDirPath, withIntermediateDirectories: false, attributes: nil)

        let filtered = cleaned.filter{ $0.repeated > 1 }
        
        // Read all the files from the library to do the the comparison.
        let loggedFiles = shell(launchPath: "/bin/cat", arguments: [filesAndHashesFile]).characters.split{$0 == "\n"}.map(String.init)
        
        /// Represents a single action.
        enum SReadlineAction: String {

        }
        
        /// Represents a valid interactive action.
        typealias SReadlineOption = (action: SReadlineAction, fileSelection: Int?, errorMessage: String?)
        
        func parseOption(userInput: String) -> SReadlineOption {
            let splat = userInput.characters.split{$0 == " "}.map(String.init)
