format file and add new value parameters