security fix - Exit if file accessed directly

Signed-off-by: Eduardo Stuart <stuart.eduardo@gmail.com>