adding logs to get file info