Update _core.py

delete read key file function