Hi Satyam,
If the file size is -1, there went something wrong with the upload of the file.
Can you please also check the boolean HasContents? If this is false, there is no content uploaded to the entity FileDocument.
Can you please also describe a bit situation what you are trying?