-- add ability to remove ".err" extension before moving file to output directory