not all files have xml property 'extension'