Fix guessing filetype
Separate rendering type and filetype