Changed getfiles to take ...