Hi Hajjej,
I don't think you've actually described the problem you're having. Please give as much detail as possible including any error messages you are seeing. If you haven't already, have a thorough read of the File API documentation, especially Files in Forms.