Take out shape in various file formats