usage: doompal filename