Bash script that performs file format identification on all files in a directory tree using Apache Tika