Fixed file reconstruction issue