mediafile scheme can be used with embedded docs as well