Import built-in function open to make everything python 2 and 3 compatible