Adapt identification in different file formats