config.py: remove get_file() use misc.get_file() instead

Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
discover.py: remove get_file() use misc.get_file() instead

Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>