Initial changes for filewarning

- Checks exe directory as opposed to CWD for executables.
Added a change that completely allows for warnings to still be used

- Now checks exe directory instead.