Right, "(f,)" just attaches a file reference, so you can't directly grep it in the same hook. So your solution with reading the file contents looks fine, thanks!
Right, "(f,)" just attaches a file reference, so you can't directly grep it in the same hook. So your solution with reading the file contents looks fine, thanks!