Check that file is there before opening