Use LocalFileDetector as default one, get rid of setters and getters.