Files now saved in array and have file extension property.