Added file scanning and furthered database access. Allowing for the scanning of files with a filetype defined in the database.