Restrict file access, fixes issue #129