Helpers for loading data from external file for testing purpose