Fclose and file_get_contents issue radium importer

Hi there,

our theme was soft rejected because we use fopen, fclose and file_get_contents for our One-Click Demo Import (radium importer script). We use some files from the official Wordpress Importer Plugin which raises some of the errors. But we think other themes uses the sames mechanism.

We use these methods only for the demo data import, so we can’t understand why it was soft rejected in this case. We were told that the themeforest requirements changed so no fopen, close etc is allowed anymore
Does anyone have a solution or idea how to fix it?

image

We would be happy if you expereicned the same and have a solution for it.

Beste Greetings

themetwins