added final checking if there are any missing Assets or main html files in the record