added rstrip in case of carriage return, added minutes to docid_to_data