Checking if file exists in a BPM method directive

Apparently not. Apparently Epicor has just decided to change the code without telling us? Unacceptable. Epicor, do not touch my code