Removed skipped files from database class
Fixed missing init of invalid files