Added logging to filesystem