debug statements and full file loop enabled