preview replaces /files/ and /assets/