renamed Dem class to DemFile
changed references of Dem to DemFile