getRawData() no longer works when a file is uploaded