that code for reading a variables from a text file

Code:
STRING* str_file_data = "";
var _fHandle_user_config_i = NULL;

void get_user_settings(STRING* local_filename) 
{
	_fHandle_user_config_i = file_open_read(local_filename);
	
	if(_fHandle_user_config_i){ //read config file
		int eof = 0;
		while(eof != -1){
			eof = file_str_read(_fHandle_user_config_i, str_file_data);
			var_for_name(str_file_data);
		}
	}
	file_close(_fHandle_user_config_i);
}



i want to read anything from the text like function and action