now reading params directly from the file