Cleaned up the read_snv's function.