Support --profile-file flag in the gateway.
#296
+157
−59
Draft