Python OS Module - Treating With Text Files