Fixing array of files