Removing unneccessary addition to the files array