add function to query files and file progress to libtorrent webui