changed size of variable fileN from 10 to 150