what happens If I remove mysql-bin.index file?
If you erased all the binary logs, the mysql-bin.index can also go.
Do you still need binary logging ? You must restart MariaDB, and the mysqld process will recreate mysql-bin.index it for you.
If you no longer want binary logging, you must comment out log-bin from the MariaDB config file. You still need to restart MariaDB.