infer the name of project subfolder automatically

when it is named after a file.