Code example for File

Methods: canWriteisDirectory