added prime read from file and manipulate