Fixed iss #1-Crashing when path doesn't exist.