An object-oriented approach to file/directory operations