Small bug related to the new DIR FILE type enums