proceed-file improvement to pring DETECTED in filename