Fixed logging in case a file has no mapping.