Check whether file already in shm when loading