Add support for file type