added helper for multiple files