Use a custom resource instead of generating a file into the app.