only use the last url fragment for the filename