parse file to css string

I've added a function to parse the css into a string instead of writing it to a file.