How do I create a file only on the first launch of the app using the file storage?

Use this method to switch screens.

Where Screen1 is, you can add whatever screen you want to open.