def read_files(*filenames):
 output = []
 for filename in filenames:
  f = codecs.open(filename, encoding=u'utf-8')
  try:
   output.append(f.read())
  finally:
   f.close()
 return u'\n\n'.join(output)

def read_files ( * filenames ) : output = [ ] for filename in filenames : f = codecs . open ( filename , encoding = u'utf-8' ) try : output . append ( f . read ( ) ) finally : f . close ( ) return u'\n\n' . join ( output )
output the contents of one or more files to a single concatenated string .