using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.IO;
using System.Text.RegularExpressions;
class FileUtils
{
public static List GetMovieListFromFileSystem(string path)
{
var movieFiles = (from file in new DirectoryInfo(path).GetFiles()
where file.Extension == ".avi"
select file.FullName).ToList();
return movieFiles;
}
}