Creating the realm file