added exception to opening play file