updated file entity and erprepopulate fixed