Generates .PLS files from every file of a given extension in a directory