is_file_exists and using set_last_error now