fix file scanner