removing baseurl from files