Adding different layouts for the different file formats