Changed format for query word files