renamed mat and res files to full length