Corrected debug statement and added some todos
added comment, move along
fixed out_file file_type validation and path generation