better log messages
better error message when data for a file is missing
oops...