This will allow testing this code and avoid going through too many layers to get notified and a file status changed.