if(dir == "")
{
dir = null;
}
ArrayList list = new ArrayList();
for(FileSystemInfo fsi : new DirectoryInfo(dir == null ? Environment.get_CurrentDirectory() : dir).GetFileSystemInfos(Path.GetFileName(arg)))
{
list.Add(dir != null ? Path.Combine(dir, fsi.get_Name()) : fsi.get_Name());
}
if(list.get_Count() == 0)
{