dynamic adress size & readonly file generation