public void listFileInDirectory() {

        try {
            File file = new File(DirectoryConfig.getInstance().getExtractDirectory());

            if (file.exists() && file.isDirectory()) {
                String[] filesNames = file.list();

                for (int j = 0; j < filesNames.length; j++) {
                    String fName = filesNames[j];
                    
                    if (!fName.isEmpty()) {

                        splitFile(fName);
                    } else {
                        System.out.println("The file '" + fName + "' is empty!");
                    }
                    //Call the Garbage Collector
                    System.gc();
                }
            } else {
                System.out.println(" Error: Directory doesn't exists!");
            }
        } catch (Exception error) {

            System.out.println("Other Exception: " + error);
        }
    }