wait for file query - server