How to use .bin file as TinyDB database?

Is it possible use .bin file as TinyDB database? Will it works when I'll feed a binary file like db('mydb.bin')

EDITED: Thank you guys for -1!!! BUT! From the TinyDB docs I know that it's possible to write a custom storage in different file formats. I need to know what to do in case of .bin file.