drop save_file() already exist in libcore.cpp