Text this: Identifying genetic traces of historical expansions