It's a little weird to be creating a File from a URI to parse this string but I guess it works. Is this what you guys did before?