add methods for working on multiple files