improve multi file type