cleared the datafiles list when remove button is clicked