comit pdf and txt