Moved sendFile() calls in main() into for loop, files in files[] list.