This doesn't generate an expected file name for files that do not have a file extension such as the "NOTICE" file in the brackets repo root folder. The generated name is "-copy.NOTICE" but should be "NOTICE-copy" (same as folder).