add mapping for readonly file