def load_input():
    """ Open existing input file """
    file = open(_input_file, 'r')
    result = json.loads(file.read().strip('\0').strip())
    file.close()
    return result
Open existing input file