Utility class for transforming URL into File or File into URL