Renaming file to have python extension