FileOps common utility

Adding a commonly used utility class for files and directory operations.
Also adding a test file.