Remove duplicate function.
Add the ability to set the locations  where files are monitored.