altered for loading css file with db custom css using file_put_contents