Bugfix for wrong file arry size with none text files.