fix docstring
add methods for working on multiple files