Use "file" parameter, if present, to determine data format typeString in ResourceLocator