style links based on filetype