read signatures with mmap