Update FilepupNet.py

Added file offline detection.