Automatic Naming of Files Based on Folder

I want my files to be named automatically in a systematic manner – if my folder is titled “A. [folder name]”, then I want the first file in the folder to be titled “A.1. [title of file]”, “A.2. [title of file]”, with the “A.1” and “A.2” being generated automatically for each file, but the [title of file] being inserted manually for each. Though I found plugins that help in automatic naming of files (Auto Filename and Filename Heading Sync), I don’t think either are able to achieve this functionality.