Minor changes to view, util functions for scanning and saving uploaded attachments as well as handling of attachments in index.py