starting scanning file