     
     override func viewDidLoad() {
         super.viewDidLoad()
+        getSporthFiles()
         setupUI()
         listOfSavedCodes.dataSource = self
         listOfSavedCodes.delegate = self

    }
    
    func setupUI() {
        do {
            try brain.save(Constants.File.chat, code: String(contentsOfFile: Constants.Path.chat, encoding: String.Encoding.utf8))
            try brain.save(Constants.File.drone, code: String(contentsOfFile: Constants.Path.drone, encoding: String.Encoding.utf8))
            try brain.save(Constants.File.rhythmic, code: String(contentsOfFile: Constants.Path.rhythmic, encoding: String.Encoding.utf8))
            listOfSavedCodes.selectRow(0, inComponent: 1, animated: true)
            codeEditorTextView.text = brain.knownCodes[brain.names.first!]
            nameTextField.text = brain.names.first!
            
        } catch {
            NSLog(Constants.Error.Loading)
        }
    }
    

    }
    
    func pickerView(_ pickerView: UIPickerView, titleForRow row: Int, forComponent component: Int) -> String? {
        
        return brain.names[row]
    }
    
    func pickerView(_ pickerView: UIPickerView, didSelectRow row: Int, inComponent component: Int) {
        codeEditorTextView.text = brain.knownCodes[brain.names[row]]
        nameTextField.text = brain.names[row]
    }
    
    func textFieldShouldReturn(_ textField: UITextField) -> Bool {
