Cut off shape in various file formats