Change file output path
Delete chdir TEMP_DIR