flattened static directory
made JobHandler remove file after it was done.