scanner now finds files, displays it in the main window and saves to the
database. implementation is primitive atm