foreach all files