Checks if the given directory exist and can be written to.
checkFileWriteAccess(filePath)
filePath
(string) A string the path to the file.
(invisible) TRUE, Stop if no access.