Feature/output file chunks