Added filepath check in OSFinder