Added file detection to psp system plugin