Added functions isExecutable() and isReadable()
Throw an exception when the file is not readable