`thousands` and `encoding` were not used, and i renamed the `filler` to `delimiter` for consistency with other functions.