def __init__(self, filename, args, version):
self.args = args<EOL>self.version = version<EOL>self.filename = filename<EOL>try:<EOL><INDENT>with open(self.filename, '<STR_LIT:rb>') as file:<EOL><INDENT>self.data = json.load(file)<EOL><DEDENT><DEDENT>except IOError:<EOL><INDENT>self.data = {}<EOL><DEDENT>
Args:
    filename:
        Filename for database.
    args:
        Program arguments.
    version:
        Version of file.