Check path exists before opening the file