def _sibling_lines(filename):
 dirname = os.path.dirname(__file__)
 path = os.path.join(dirname, filename)
 with open(path, 'r') as f:
  return f.readlines()

def _sibling_lines ( filename ) : dirname = os . path . dirname ( __file__ ) path = os . path . join ( dirname , filename ) with open ( path , 'r' ) as f : return f . readlines ( )
read file content into an output string .