File Handling Functions In Python Programs