Wouldn't this need to include type?, e.g.: "file:///modules/type/" + name