remove ipFile usage from layout