core edi: allowed to specify datatype in Edi.readfile

Signed-off-by: LK <LK@uni>