XPM files always start with the string “/* XPM */”. The line continues with whitespace and a possible comment, followed by the C declaration of a static char array “static char * “. The file has "};" or "} ;" at the end or very near the end followed by white space.