def read_file_content(fileName):
 try:
  with open(fileName, u'rU') as f:
   content = f.read()
 except IOError as reason:
  raise NinjaIOException(reason)
 except:
  raise
 return content

def read_file_content ( fileName ) : try : with open ( fileName , u'rU' ) as f : content = f . read ( ) except IOError as reason : raise NinjaIOException ( reason ) except : raise return content
read a file content .