parse file to css string