Replace structure of managed beans files