save add gene into a file