public void updateFileList(JList list, JTable tableAllTasks) throws SQLException, IOException {
        int selectionID = getSelectedTaskId(tableAllTasks);
        Task t = getSelectedTask(selectionID);
        ArrayList<MyFile> mfList = retrieveAllFilesInfoAttachedToTaskID(t.getTaskID());
        fillListWithFileInfoFromFileInfoList(list, mfList);
    }