read savefile extension from the filename