add file uploads support