Read Different File Types using Python