A properties file provides a way to define properties that can be extracted in scripts. A properties file can be accessed in script in two ways:
system.loadPropertiesFromClasspath(propertiesFileName)
system.loadPropertiesFromFile(propertiesFilePath)
For example:
var props = system.loadPropertiesFromFile(filePath);
var myProp = props.myProperty;