Explicitely open files in read-only mode.