commiting to pull
kinda works
append file information to files array in maincontroller