Should validate that files is an array