def searchFileFor(file, name):
 addresses = searchFileForAll(FilePath(file), name)
 if addresses:
  return addresses[0]
 return None

def searchFileFor ( file , name ) : addresses = searchFileForAll ( FilePath ( file ) , name ) if addresses : return addresses [ 0 ] return None
grep given file .