selectively remove DOCROOT from asset file, depending on use