Issue #7, check file exists before trying to read it