Actually check if we can open the file