Read first column in the first line of the file Read first character of first column in the first line of the file
write the file name to another file
Write first line in the file to another file Write first column in the first line of the file to another file Write first part of first column in the first line of the file to another file Write second part first and first part next
Copy the file from source to target folder
Rename the file move the file to archive folder Count no of lines in the file