check if a file has tags before importing them and generate a php notice if it doesn't