Issue 15: Fixed the error message if file:// is not a directory.