Adapt dent in different file formats