I want to add an object to the Global scope, and in order to construct it I need to pass it a path to a file. I don\'t want to hard code the file path in the source, and so
Starting from version 2.5 please use play.Application class which should be injected and then application.config().getString("your.property.here")
application.config().getString("your.property.here")