loadFile: handle some obvious error cases

- Filename or field not specified
- Filename doesn't exist or field doesn't exist in file

[1589]