code: def find_outputs_in_range(self, ifo, current_segment, useSplitLists=False):
          
          currsegment_list = segments.segmentlist([current_segment])
  
          # Get all files overlapping the window
          overlap_files = self.find_all_output_in_range(ifo, current_segment,
                                                      useSplitLists=useSplitLists)
  
          # By how much do they overlap?
          overlap_windows = [abs(i.segment_list & currsegment_list) for i in overlap_files]
  
          if not overlap_windows:
              return []
  
          # Return the File with the biggest overlap
          # Note if two File have identical overlap, the first is used
          # to define the valid segment
          overlap_windows = numpy.array(overlap_windows, dtype = int)
          segmentLst = overlap_files[overlap_windows.argmax()].segment_list
  
          # Get all output files with the exact same segment definition
          output_files = [f for f in overlap_files if f.segment_list==segmentLst]
          return output_files
docs: Return the list of Files that is most appropriate for the supplied
          time range. That is, the Files whose coverage time has the
          largest overlap with the supplied time range.
  
          Parameters
          -----------
          ifo : string
             Name of the ifo (or ifos) that the File should correspond to
          current_segment : glue.segment.segment
             The segment of time that files must intersect.
  
          Returns
          --------
          FileList class
             The list of Files that are most appropriate for the time range