corrected mini bugs
1) output directory to use canonical name
2) is_new_file master-slave clarification
3) commaind line strings corrected