refactor: move getFiles to the Utility class, to make it available everywhere