check if the file exists without exception 2