Sometimes, there are circumstances when a question involves a lot of code, maybe 2 or 3 files, so adding this many code blocks make the question too long that some people tend to ignore it.

Is it possible to add an option to attach a code file so that a little code snippet can be shown?

I feel that would be easier for OP and people answering too.