title: Fix moving files into year folder if exist a matching in .txt file
body: <p>I have files like this</p>
  
  <pre><code>Taxi driver.torrent
  Tabu - Gohatto.txt
  Troll 2 (1990)..zip
  </code></pre>
  
  <p>Inside my filelist.txt file I have files named like so</p>
  
  <pre><code>Troll 2 (1990) [BDrip 1080p - H264 - Ita Ac3] Horror, Commedia
  Troll 2 (1990) [XviD - Ita Mp3]
  Taxi Driver (1976) Mastered..
  Tabù - Gohatto (N. Oshima, 1999)
  </code></pre>
  
  <p>I have just folders like</p>
  
  <pre><code>1976
  1990
  1999
  </code></pre>
  
  <p>I want to move files into correct year folder in this way</p>
  
  <pre><code>1976
    |__ Taxi driver.torrent
  
  1990
    |__ Troll 2 (1990)..zip
  
  1999
    |__ Tabu - Gohatto.txt
  </code></pre>
  
  <p>I use this path, folders</p>
  
  <pre><code>C:\Path
  Test4.txt
  script_powershell.ps1
  </code></pre>
  
  <p>I actually test with powershell 5 to move</p>
  
  <pre><code>$movies = @()
  (get-content C:\Path\Test4.txt) | foreach($_){
  $properties = @{
  date = $_.substring($_.IndexOf("(")+1,4)
  name = $_.substring(0,$_.IndexOf("("))
  }
  write-host $date
  write-host $name
  
  $movies += New-Object PSObject -Property $properties
  }
  
  $torrentFiles = dir $torrentPath
  
  foreach($movie in $movies){
  $datePath = "C:\Path\$($movie.date)"
  if(-not(test-path $datePath)) {
  new-item $datePath -ItemType "directory"
  }
  $words = ($movie.name -split '\s') | ?{ $_.Length -gt 1}
  $significant = $words.Count
   foreach($torrentFile in $torrentFiles){
   $matchingWords = 0
    foreach($word in $words){
     if($torrentFile.BaseName -match $word){
      $matchingWords += 1
     }
    }
    if($matchingWords -ge $significant){
    Move-Item -path $torrentfile -Destination $datePath
   }
   }
  }
  </code></pre>
  
  <p><strong>EDIT:</strong></p>
  
  <p>This poweshell has many problems. For examples</p>
  
  <pre><code>Caccia al delitto
  </code></pre>
  
  <p>is moved in 1990 folder...but..Caccia al delitto is 1986..
  Inside file text I have</p>
  
  <pre><code>Caccia a Ottobre Rosso (1990) [DivX - Ita Mp3] Guerra [CURA] Russia
  Caccia a Ottobre Rosso (1990) [VP9 - Ita Eng Opus] Thriller
  </code></pre>
  
  <p>I have not a text string for Caccia al delitto (I remove it for test)    </p>