support for File handle in browser