Cut table in different file formats