Better error handling

If the specification file is missing, the program should show a clear
message.