changing the way top-otus file is written. It works but needs to be
improved