def parse_file(self, filename, skip_unreadable=False, **kwargs):
if not os.access(filename, os.R_OK):<EOL><INDENT>if skip_unreadable:<EOL><INDENT>return<EOL><DEDENT>raise ConfigReadingError("<STR_LIT>" % filename)<EOL><DEDENT>with open(filename, '<STR_LIT>') as f:<EOL><INDENT>return self.parse(f, name_hint=filename, **kwargs)<EOL><DEDENT>
Parse a file from its name (instead of fds).

        If skip_unreadable is False and the file can't be read, will raise a
        ConfigReadingError.