def get_local_json_timestamp_epoch(username, filename):
    monitoredJSON = None
    try:
        monitoredJSON = json.load(open(((pathToJSON + os.sep) + filename), 'r+'))
    except:
        with open((os.getcwd() + '/logs/fail_to_get_local_epoch'), 'a') as fileText:
            fileText.write((((((('The JSON fail to read is ' + pathToJSON) + os.sep) + filename) + ' at ') + str(datetime.datetime.now())) + '\n'))
        fileText.close()
    if (monitoredJSON == None):
        return None
    user_info = monitoredJSON['user_info']
    json_timestamp_epoch = user_info['json_timestamp_epoch']
    json_timestamp_epoch = float(json_timestamp_epoch)
    return json_timestamp_epoch
def get_local_json_timestamp_epoch(username, filename):
    monitoredJSON = None
    try:
        monitoredJSON = json.load(open(((pathToJSON + os.sep) + filename), 'r+'))
    except:
        with open((os.getcwd() + '/logs/fail_to_get_local_epoch'), 'a') as fileText:
            fileText.write((((((('The JSON fail to read is ' + pathToJSON) + os.sep) + filename) + ' at ') + str(datetime.datetime.now())) + '\n'))
        fileText.close()
    if (monitoredJSON == None):
        return None
    user_info = monitoredJSON['user_info']
    json_timestamp_epoch = user_info['json_timestamp_epoch']
    json_timestamp_epoch = float(json_timestamp_epoch)
    return json_timestamp_epoch