Maybe you want to catch an exception here in case the file doesn't exist. Looks like this would correctly handle the stop default status.