Define custom filetypes as php