def load_json(file):
here = os.path.dirname(os.path.abspath(__file__))<EOL>with open(os.path.join(here, file)) as jfile:<EOL><INDENT>data = json.load(jfile)<EOL><DEDENT>return data<EOL>
Load JSON file at app start