added method to return the memory.memArray index of the first byte of a file we are trying to find in the directory