private string YearHelper(string filename)
{
Match match = Regex.Match(filename, "[1-2]{1}[09][0-9][0-9]");
while (match.Success)
{
int year = int.Parse(match.Value);
if (year > 1950 && year < (DateTime.Today.Year + 1))
return year.ToString();
else
match = match.NextMatch();
}
return null;
}