create function for save info in file