Convert file name to tag

It's all described in the already linked post: