Bash script to check BSP file organization