Change read method of setting file.