private void removeFile(int index) {
        String file = files.remove(index);
        FileLogUtils.deleteFile(directory, file);
    }
private void removeFile ( int index ) { String file = files . remove ( index ) ; FileLogUtils . deleteFile ( directory , file ) ; }
Remove and delete a file from the file list.

@param index the file index