Add multi-type file support
Add multi-type file support