Extracting URL to common file