Film based on novel by John MacKay to debut at festival