Use correct attribute type
Process files sequentially