make some changes to the file monitoring system and add logging system using log4j2 framework