add file type plugin and change the layout