read files from html input type=file elements