vector save/read from file