Added logging to FileUtil