Realm database vs file storage for storing analytics info



I am a newbie to realm and android, I have a use-case where I have to store analytics info(a lightweight object with few string attributes) when a push notification is received while the app is in background or killed state. When the app comes to foreground, I will have to read the data stored in realm and upload it to the server and flush the realm data.

Considering my application already uses realm for storing other persistent data, should I prefer to store the analytics info(the lifetime of which is ephemeral) using realm OR should I just create a file for each analytics info I want to store in a directory.

What are the advantages and disadvantages of using realm over filestorage for this use-case?