Corrected file to python format