Handling during-cleanup trigger of modify FS events and generally improving the logging and exception handling of file import