Open test files in read-only mode (so it will work on devices where permissions won't allow read/write)