Fix to new files array