File deletion from profile url fix