create method slugifier in the file