modify main.cpp to ensure write percentage is specified before reading
dataset file (fileSelected)