Just fixed the output file  path
Bug fix with null