call the function self.path with argument name, use it and mode as arguments for the call to the function open, use it as an argument for creatinon of a File object instance, return it.
return File ( open ( self . path ( name ) , mode ) )