For example, one pastie could have an html file, a css file, and a js file. Detect and display the file type dynamically by looking at the extension.