matrix now works loading files as it should