adapt the code to the new xrootd url instead of rfio