The file command can be used with regular expressions.
In the following example, we will use a regular expression.
Create a file in SAPWR with the following filename:
Open the 'esession.sjs' file and enter the following code. Create the file if it does not already exist.
file(/Z.GUIT.SAPLSMTR_NAVIGATION.E0100/, {"alias":"sessmgr"});
Save the file.
You should now be able to access the file using the alias 'sessmgr' instead of the actual file name.