logging added for linking output file