This avoid conflict with os.path.isfile. Also add must_exists parameter to check local file existance