Fixed FilePath bug. If you had extensions disabled in windows, The FilePath would log an error. This is now fixed.