Hi,
 
Not sure whether I understood question correctly  but please check following link once
 
http://stackoverflow.com/questions/7436779/creating-file-from-returned-byte-array-via-wcf-rest-service
 
or please share more details.