use FileInfo to check if file exists first before trying to open it. speeds things up