Changed to use EnumerateFiles instead of GetFiles