Do some house holding on layout files.