added class for handling url file