script extract the required data to simpleFile