open, mmap + checking format