find object in file with distance