Add file upload mock, copied from the example