I cannot delete modules or files that I have in my course. Why is that?
By any chance is this an older course from a previous semester, or did you at some point click the button to Conclude the course? It depends a little on how you school has configured Canvas, but typically old courses become Concluded at some point. When this happens they essentially go into a Read Only state which would prevent you being able to delete or edit things.
If that is not the case I suggest you click the Help button on the left side of Canvas and use the Report a Problem link to open a ticket with Canvas Support. They will have access to take a look in your course and see what the issue might be.
Retrieving data ...