I'm not sure where I am going wrong when I apply the logic behind the above 2 methods to my template.

I would like to show the schedule, but I can't upload it. After trying to upload the excel attachment, I keep getting an error message with the upload.