genDataRead function

Reading the genetic data from a file