commiting pdf document