parameters: (filename, all_files)
return_statement: return None
docstring: Return the name of the checked-in file matching the given filename.
  
    Use suffix matching to determine which checked-in files the given filename
    matches. If there are no matches or multiple matches, return None.
docstring_summary: Return the name of the checked-in file matching the given filename.
docstring_tokens: Return the name of the checked - in file matching the given filename .
function: def _file_in_repo(filename, all_files):
    """Return the name of the checked-in file matching the given filename.
  
    Use suffix matching to determine which checked-in files the given filename
    matches. If there are no matches or multiple matches, return None.
    """
    new_file = _fix_filename(filename)
    matched = []
    for f in all_files:
      if f.endswith(new_file):
        matched.append(f)
    if len(matched) == 1:
      return matched[0]
    elif len(matched) > 1:
      print >> sys.stderr, ('WARNING: multiple matches for %s; skipping:\n\t%s'
                            % (new_file, '\n\t'.join(matched)))
    return None
function_tokens: def _file_in_repo ( filename , all_files ) : new_file = _fix_filename ( filename ) matched = [ ] for f in all_files : if f . endswith ( new_file ) : matched . append ( f ) if len ( matched ) == 1 : return matched [ 0 ] elif len ( matched ) > 1 : print >> sys . stderr , ( 'WARNING: multiple matches for %s; skipping:\n\t%s' % ( new_file , '\n\t' . join ( matched ) ) ) return None