added method key_with_unique

a way to disable unique_key in method - filename