helpers: added func to get slug from file name