I added a bool for recursing.
I added FileInfo[] returning for GetFiles. When you want to return a FileInfo[], you will need to use a DirectoryInfo or FileInfo path. You can easily do new DirectoryInfo( stringPath ) or new FileInfo( stringPath ) if you have a string based path.
TrimPaths now returns FileInfo[] as well as string[]
|