public static void FileListArray(File Directory) {
        // Array to hold files.
        File[] FileList = Directory.listFiles();
        
        for(int i = 0; i < FileList.length; i++){
            if(FileList[i].isFile()){
                File1 = FileList[1].getName();
                
                File2 = FileList[2].getName();
                
                if(i == i){
                    break;
                }
            }
        }
    }