how can i treat a section of a file as though it's a file itself?,f.seek(0)