saving fvector in file