Python code for reading multiple data files