Can read configuration from a file.