Adds support for using settings from file