[list files] check encoding - remove "type" attribute