a new file for neighbor query