Detect file extension and include link tag when the file ends with *.css