Ok, Got it. Thanks.
While creating the ticket, file input is convering into key & signature in ost_file table & filedata in ost_file_chunk table.
Here our question is :
1) In code where can i find this file conversion into key & signature while creating the ticket
2) How the ost_ticket table relate to ost_attachment, ost_file, ost_file_chunk tables