adding check for too many FAs file
moving too many FA check earlier
removing unneeded function