correct url slug for files