modified formatType file