You could execute the .sql file as a script in the SQL Developer worksheet. Either use the Run Script icon, or simply press F5.
fore example
@C:\Users\Desktop\gateway-data-migration\test.sql;
fore example
@C:\Users\Desktop\gateway-data-migration\test.sql;