uses bzero on serialize, also uses opposite of htons to decrypt int, adds read for open file