In other computing languages, you can call other methods or subroutines within a method or subroutine.
In VBA:
Public Sub x()
Call y
End Sub
Private Sub y()
Debug.Print "Hello World!"
End Sub
Can you do this in SQL?
Declare @FilePath as VarChar(Max)
Set @FilePath = '\\SomeServerExtension\MyFile.sql'
Execute @FilePath
It would save space and make the query appear cleaner.