dump file in chunks; input and ok natano@