Fixing unit types, implement file type config entity