tidy
ok now returning 404 when missing files
tidy and remove the result structures
better handling file not found