Multi-threaded server for file queues managing