Fixed the path for output files