Buffer module not required
Get rid of the findIndex function. Create a stringData variable.