Added logging for subfolders