rename detection for multiple files, fixes #57