Cut shape in different file formats