only opens file if file exists