Further improved URL to File conversion