Added FileAccessAPI.php file and supporting logWrite.php