protected function addFileToProcessedList(string $filePath)
    {
        $arrFile = explode(DIRECTORY_SEPARATOR, $filePath);
        $fileName = array_pop($arrFile);
        $folder = implode(DIRECTORY_SEPARATOR, $arrFile).DIRECTORY_SEPARATOR;
        
        $tmp = new Update();
        $tmp->name = $fileName;
        $tmp->folder = $folder;
        $tmp->createDate = strftime("%Y-%m-%d %H:%M:%S");
        $tmp->save();
        
        echo "Processed: ".$fileName."\n";
        unset($tmp);
    }