Add removeWhitespaces and splitStringToElements functions into FileReader