Make slides based on the file uploaded.