if you are using seperate folder foreach employee. then try this.
private static void EmployeeFiles(string EmployeeFolderPath)
{
try
{
if (Directory.Exists(EmployeeFolderPath))
{
foreach (var item in Directory.GetFiles(EmployeeFolderPath))
{
if (File.Exists(item))
{
File.Delete(item);
}
}
}
}
catch (Exception)
{
throw;
}
}