Files with extensions such as *.txt, *.java, and *.sql are generally just plain text files. It would be very useful if I could upload my project files to my wiki, and then include them into codeblocks like so:
**MyClass.java**
[[code type="java"]]
[[include /local--files/thispage/MyClass.java]]
[[/code]]
At first this doesn't seem to be very useful — why don't I just copy and paste the code into the codeblock?
The advantage this has is that if I want to update the code on my page, all I need to do is to upload a new file that overwrites the existing one, and suddenly the codeblock will begin showing the updated code.