retrieve the spark configurations directly from configuration file