It's isfile

It's os.path.isfile instead of is_file.

Change-Id: Ie68e88d4b8a310382795c727ff9824289cbcc3b9