adding matfiles dir