Reading options from file.