Add direct layout selection to files.