adding more extensions

Hello, 

just a quick PR...it's more a request for adding more file extensions (I use .pthml a lot) or make them configurable in the module setup screen.

btw, this module is very useful, thank you.

kindly