fix bootstrap file with filter for static assets
more verbose error on importing files with wrong content