Upload file with ajax.