Removed duplicates and added flask code for files

The link scraping should no longer add duplicate files to any of the
file lists. Added separate functions in Treemap to get a list for each
file type.