private List<File> getFileList(String directory, String type) throws Exception {
        File file = new File(directory);
        List<File> fileList = new ArrayList<>();
        getFile(file, fileList, type);
        return fileList;
    }
Get layout information
@param target  the target information
@return   the layout information
inlong-tubemq/tubemq-server/src/main/java/org/apache/inlong/tubemq/server/master/web/simplemvc/RequestDispatcher.java