Improve the documentation for getDirectoryFiles