def read_file(filename):
logging.debug(_('<STR_LIT>'), filename)<EOL>try:<EOL><INDENT>with open(filename) as readable:<EOL><INDENT>return readable.read()<EOL><DEDENT><DEDENT>except OSError:<EOL><INDENT>logging.error(_('<STR_LIT>'), filename)<EOL>return '<STR_LIT>'<EOL><DEDENT>
Read a file.