Add json message when file doesn't exist and add doc. #1