Use same regex with /file/ prefix to copy images from HTML and CSS.