Print file extension and attribute