moving xpath to data_file model