Added methods to extract correct css file extension.
no-resource is working with css only.. need to make methods more generic.