check file extension, (stub-wip) pick file and tag to use