file() is removed in python 3.4 use open()