removing .ear again & printing contents afterwards