Created illegal file check in Patch Creation process

AT LAST! :D :D