modify main.cpp to set write percentage (setWrPer) before reading
dataset file (fileSelected)