Updated fileActionHandler and abstract functions to support multi-file reading. Beware of breaking changes and patch your code!