debugging file receiving