[FEATURE] refactors Utility::resolveFilePath

- strict string checking
- removes double file_exists() check if mod:path doesn't exist