only call tail once but with all files at the same time