Additionalshell file processing exercises in python