trying to work out slug of filename
get slug to work