Changed fileToWatch to optional