I am trying to return user from this function which uses another function to open the json file can I return users for the whole function
    function RandomAccount(){
        alert('just confirm');
        readTextFile("./data.json", function(text){
        var data = JSON.parse(text);
        var length = data[0].length;
        // better random
        var i = generateUniqueRandom(length)-1;
        user = data[0][i]['follow_username'];
        return user;
        
    });
   //i want to return user here
    }
 
    