implemented and tested LogManager.logDirectoryFilesPromise()