Also requires inputpath contains '/castor/cern.ch/'