Partial implementation of FormData and File

Eventually blocks #2282