better support in generate_dependencies for VERBOSE mode + fix small issue with empty (non-found) files