Prepared test and scan for file-access database. Not finished.