Cut field in different file formats