better meta data checking for open on server

Use the meta xml files to determine the file type, more efficient url
building