Store and retrieve files from db; view files.

To do: Fix pretty print, so that it highlights not just the first viewed
file.