INPUTDIR="..."
OUTPUTDIR="..."
PATTERN="..."