open (OUT_FILE,">$OUTPUT_PATH/$SUB_DIR/$NEW_FILE") or die ( $! );