url building only if file does not exist