disabling the localfiledetector temporarily