avoid displaying the same file more than once, removing urls from name displayed