Fix for ignoreResourceNotFound = true' does not honour when use invalid file  location

Fix for issue 'ignoreResourceNotFound = true' does not honour when you use invalid 'file' location.