Some refactoring

Extracted method in ReadInDat for prepared statement