Add post hooks for filesystem scanner

As requested by @DeepDiver1975