I thought it will only check whether the input path is provided or not. Will it also take care of condition where input path is provided, but is neither a valid file or directory?