Now with filenotfound.
TODO: Better JSON error reporting