FileInfo don't throw exception if file don't exist

Don't throw an exception when the file don't exist. Instead
we add an exists function that we can use instead.
update code to work with new fileinfo