Prevents writing to and reading from files.