Trap: Output to file while acquiring