s/is_file/isfile/

https://docs.python.org/2/library/os.path.html#os.path.isfile