extract css/js to files.