Adding code to cut plain files