further modification about download files and maintain file lists