Start of function file scanner.