update instructions
fix file detection for receiving over stdin