Output file path corrected