Converted files to Python 3