file processing tools by python