def lock_read_init(self):
self._lock()<EOL>_logger.info("<STR_LIT>".format(self.file))<EOL>try:<EOL><INDENT>self._read_init()<EOL><DEDENT>except:<EOL><INDENT>self._unlock()<EOL>raise<EOL><DEDENT>
Initialize self from the (immutable attribute) `file` passed to the constructor.